package cn.iocoder.yudao.module.ent.document.node;

import cn.iocoder.yudao.module.ent.document.BaseNode;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * 行政许可 节点
 */

@Document(indexName = "node_license")
@Data
public class NodeLicense extends BaseNode {

    //公司数据加密id
    @Field(name = "cid", type = FieldType.Keyword)
    private String cid;

    @Field(name = "create_time", type = FieldType.Text)
    private String createTime;

    @Field(name = "code", type = FieldType.Long)
    private Long code;

    //许可机关
    @Field(name = "issueAuthority", type = FieldType.Text)
    private String issueAuthority;

    //许可内容
    @Field(name = "licenseContent", type = FieldType.Text)
    private String licenseContent;

    //许可名称
    @Field(name = "licenseName", type = FieldType.Text)
    private String licenseName;

    //行政许可证号
    @Field(name = "licenseNumber", type = FieldType.Text)
    private String licenseNumber;

    //有效期自
    @Field(name = "validityFrom", type = FieldType.Text)
    private String validityFrom;

    //有效期至
    @Field(name = "validityTo", type = FieldType.Text)
    private String validityTo;


}
